package com.zy.gpdemo.controller;

import javax.websocket.server.PathParam;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping("/")
    String getIndex(){
        return "index";
    }
    
    @RequestMapping("/printer/{ip}")
    String getPrinter(@PathParam(value="ip") String ip) {
    	return "printer";
    }
}
